<?php
require_once("db.php");
//require_once("function.php");
//require_once("global.php");

//set default timezone
date_default_timezone_set("Asia/Shanghai");

session_start();

$db = new db();
$db->connect();
//$a = $db->query("select * from user");
//print_r($a);